{template "content","header"}
{template "content","newsnav$modelid"}
<div id="main">
	<div class="here"><a href="{siteurl($siteid)}">首页</a> > {catpos($catid)}  正文</div>
	<div class="content">
        <div class="news_main">
    <div class="news_cont">
        <h1 class="news_tit black">{$title}</h1>
        <p class="grey f_center f_12">时间：{$inputtime}&nbsp;&nbsp;&nbsp;<span class="black">{$copyfrom}</span>		&nbsp;&nbsp;&nbsp;<span class="black">评论：<a href="#comment_iframe" id="comment">0</a>&nbsp;&nbsp;&nbsp;点击：</span><span id="hits">0</span>
		
		</p>
        <h3 class="n_dd f_14"><b class="grey">[导读]</b>{$description}</h3>
        <div class="news_body">{$content}</div>
        <div class="showpage">{$pages}</div>
        <div id="article_username">编辑：{$bianji}</div>
 </div>		
 <div class="n_dd" style="height:25px;">
    <h2 class="key_words"><b>关键字：</b>{loop $keywords $keyword}<a href="{APP_PATH}index.php?m=content&c=tag&catid={$catid}&tag={urlencode($keyword)}" class="blue">{$keyword}</a> 	{/loop}</h2>
    <span class="share">
    <div id="bdshare" class="bdshare_b" style="line-height: 12px;"><img src="http://bdimg.share.baidu.com/static/images/type-button-1.jpg">
<a class="shareCount" title="累计分享0次">0</a></div>
    <script type="text/javascript" id="bdshare_js" data="type=button&uid=250092" src="http://bdimg.share.baidu.com/static/js/bds_s_v2.js?cdnversion=20120528"></script>
    <script type="text/javascript" id="bdshell_js" src="http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=9"></script>
    <script type="text/javascript">
    document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();
    </script>
    </span>
 </div>
 <div class="news_cont">		 
                                <div class="clear"></div>
		<!--版权声明-->
				<div class="sm grey">
					{pc:block pos="showsm"}{/pc}
				</div>
				<div style="display:none"></div>
				
        <!-- 广告位：内容页小条幅640*60 -->
        {pc:block pos="showads64060"}{/pc}
        <div class="clear"></div>
                <div id="form_comment">
{if $allow_comment && module_exists('comment')}
      <iframe src="{APP_PATH}index.php?m=comment&c=index&a=init&commentid={id_encode("content_$catid",$id,$siteid)}&iframe=1" width="100%" height="100%" id="comment_iframe" frameborder="0" scrolling="no"></iframe>{/if}        
	  			</div>
                <div class="clear"></div>
    </div>
</div>        
                        <div class="news_tushuo">
       		<div class="a_tit b">图说天下</div>
					{pc:content action="lists" catid="30" thumb="1" num="8" order="id DESC"}
					{loop $data $r}
       		      		<div class="news_tushuo_tw">
							<a href="{$r[url]}" title="{$r[title]}" target="_blank"><img src="{thumb($r[thumb],144,108)}" width="144" height="108" alt="{$r[title]}" /></a>
							<p><a href="{$r[url]}" title="{$r[title]}" target="_blank">{$r[title]}</a></p>
						</div>
					{/loop}
					{/pc} 	
			        </div>
                    </div>  
	
	<div class="sidebar">
	  <div class="areaA areaB">  
        	<div class="tj_tit">
				<ul class="a_menu b" id="tab2">  
                    <li onmouseover="setTab(2,0)" class="current">频道推荐</li>
				</ul> 
		    </div>  
			<div class="row_list" id="tab_cont2">
                <ul style="display: block;">
				{pc:content action="position" posid="1" order="listorder DESC" sort="desc" num="6"}
						{loop $data $r}
                        <a href="{$CATEGORYS[$r['catid']]['url']}" title="{$CATEGORYS[$r['catid']]['catname']}" target="_blank">[{$CATEGORYS[$r['catid']]['catname']}]</a><a href="{$r['url']}" title="{$r['title']}" target="_blank">{str_cut($r[title], 56, '')}</a>
						{/loop}
					{/pc}
						             					
                  </ul>
          </div>
		</div>
		
	    <div style="float:left; margin-bottom:10px;" class="s_pic"><!-- 广告位：内容页1 300*250 -->{pc:block pos="showads300250"}{/pc}</div>
	    <div class="clear"></div>
                        <div class="areaA">
            <div class="a_tit b">华媒微热点</div>
            <ul class="f_12 news_tj">
			{pc:content  action="hits" catid="17" num="6" order="dayviews DESC" cache="3600"}
				{loop $data $r}
					<li><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title], 62, '')}</a></li>
				{/loop}
			{/pc} 
                </ul>
        </div>
                      
	  <div style="float:left; margin-bottom:10px;" class="s_pic"><!-- 广告位：内容页2 300*250 -->{pc:block pos="showads3002502"}{/pc}</div>
		<div class="areaA">  
        	<div class="a_tit">
				<ul class="a_menu f_12" id="tab1">  
                    <li onmouseover="setTab(1,0)" class="current"><span>社会</span></li>
                    <li onmouseover="setTab(1,1)"><span>国际</span></li>
                    <li onmouseover="setTab(1,2)"><span class="a_last">时政</span></li>
				</ul>
                <span class="b">新闻排行</span>
		    </div>  
            
            <div class="row_list" id="tab_cont1">
                                <ul style="display:block">
                                       {pc:content  action="hits" catid="24" num="10" order="dayviews DESC" cache="3600"}
											{loop $data $r}
												<li><span class="bg_blue f_12">{$n}</span><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title], 62, '')}</a></li>
											{/loop}
										{/pc} 
                                    </ul>
                                                <ul style="display:none">
                                       {pc:content  action="hits" catid="23" num="10" order="dayviews DESC" cache="3600"}
											{loop $data $r}
												<li><span class="bg_blue f_12">{$n}</span><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title], 62, '')}</a></li>
											{/loop}
										{/pc} 
                                    </ul>
                                                <ul style="display:none">
                                       {pc:content  action="hits" catid="12" num="10" order="dayviews DESC" cache="3600"}
											{loop $data $r}
												<li><span class="bg_blue f_12">{$n}</span><a href="{$r[url]}" target="_blank" title="{$r[title]}">{str_cut($r[title], 62, '')}</a></li>
											{/loop}
										{/pc} 
                                    </ul>
                            </div> 
			
		</div>
 
                <div class="areaA">
            <div class="a_tit b">热点视频</div>
			{pc:content action="lists" catid="16" thumb="1" num="4" order="id DESC"}
					{loop $data $r}
                        <div class="news_sd_tw">
							<a href="{$r[url]}" title="{$r[title]}" target="_blank"><img src="{thumb($r[thumb],130,98)}" width="130" height="98" alt="{$r[title]}" /></a>
							<p><a href="{$r[url]}" title="{$r[title]}" target="_blank">{$r[title]}</a></p>
						</div>
					{/loop}
			{/pc} 
                    </div>
             
	 <div style="float:left; margin-bottom:10px;"><!-- 广告位：内容页3 300*250 -->{pc:block pos="showads3002503"}{/pc}</div>
	</div>
</div>
<script type="text/javascript">
<!--
	function show_ajax(obj) {
		var keywords = $(obj).text();
		var offset = $(obj).offset();
		var jsonitem = '';
		$.getJSON("{APP_PATH}index.php?m=content&c=index&a=json_list&type=keyword&modelid={$modelid}&id={$id}&keywords="+encodeURIComponent(keywords),
				function(data){
				var j = 1;
				var string = "<div class='point key-float'><div style='position:relative'><div class='arro'></div>";
				string += "<a href='JavaScript:;' onclick='$(this).parent().parent().remove();' hidefocus='true' class='close'><span>关闭</span></a><div class='contents f12'>";
				if(data!=0) {
				  $.each(data, function(i,item){
					j = i+1;
					jsonitem += "<a href='"+item.url+"' target='_blank'>"+j+"、"+item.title+"</a><BR>";
					
				  });
					string += jsonitem;
				} else {
					string += '没有找到相关的信息！';
				}
					string += "</div><span class='o1'></span><span class='o2'></span><span class='o3'></span><span class='o4'></span></div></div>";		
					$(obj).after(string);
					$('.key-float').mouseover(
						function (){
							$(this).siblings().css({"z-index":0})
							$(this).css({"z-index":1001});
						}
					)
					$(obj).next().css({ "left": +offset.left-100, "top": +offset.top+$(obj).height()+12});
				});
	}

	function add_favorite(title) {
		$.getJSON('{APP_PATH}api.php?op=add_favorite&title='+encodeURIComponent(title)+'&url='+encodeURIComponent(location.href)+'&'+Math.random()+'&callback=?', function(data){
			if(data.status==1)	{
				$("#favorite").html('收藏成功');
			} else {
				alert('请登录');
			}
		});
	}

$(function(){
  $('.news_body img').LoadImage(true, 660, 660,'{IMG_PATH}s_nopic.gif');    
})
//-->
</script>
<script language="JavaScript" src="{APP_PATH}api.php?op=count&id={$id}&modelid={$modelid}"></script>
{template "content","footer"}